//C13.2:tabtenn0.cpp --simple base-class methods
#include "tabtenn0.h"
#include <iostream>

TableTennisPlayer::TableTennisPlayer(const string & fn,
                const string & ln, bool ht): firstname(fn),
                lastname(ln), hasTable(ht) {}
void TableTennisPlayer::Name() const                
{
    std::cout << lastname << ", " << firstname;
}